package com.exam.mysql;

import com.exam.entity.SysUserQueBank;
import com.exam.entity.SysUserQueBankExample;
import com.exam.entity.SysUserQueBankKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysUserQueBankDao {
    long countByExample(SysUserQueBankExample example);

    int deleteByExample(SysUserQueBankExample example);

    int deleteByPrimaryKey(SysUserQueBankKey key);

    int insert(SysUserQueBank record);

    int insertSelective(SysUserQueBank record);

    List<SysUserQueBank> selectByExample(SysUserQueBankExample example);

    SysUserQueBank selectByPrimaryKey(SysUserQueBankKey key);

    int updateByExampleSelective(@Param("record") SysUserQueBank record, @Param("example") SysUserQueBankExample example);

    int updateByExample(@Param("record") SysUserQueBank record, @Param("example") SysUserQueBankExample example);

    int updateByPrimaryKeySelective(SysUserQueBank record);

    int updateByPrimaryKey(SysUserQueBank record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_user_que_bank
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysUserQueBank> list);
}